Kanzi 4.0.0-beta2
kanzi::gfx::BlendStateCreateInfo Struct Reference

Creation information for a blend state. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::BlendStateCreateInfo:
[legend]

Classes

struct  RenderTargetBlendInfo
 Describes the per-attachment blend information. More...
 

Public Types

using HandleType
 Blend state handle.
 

Public Attributes

bool alphaToCoverageEnabled
 Indicates whether alpha to coverage is enabled.
 
vector< RenderTargetBlendInfoattachmentBlendModes
 The blend information for each color attachment.
 
ColorRGBA blendConstant
 The color channel values for constant blending factors.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a blend state.

Since
Kanzi 4.0.0

Member Typedef Documentation

◆ HandleType

Member Data Documentation

◆ alphaToCoverageEnabled

bool kanzi::gfx::BlendStateCreateInfo::alphaToCoverageEnabled

Indicates whether alpha to coverage is enabled.

◆ blendConstant

ColorRGBA kanzi::gfx::BlendStateCreateInfo::blendConstant

The color channel values for constant blending factors.

◆ attachmentBlendModes

vector<RenderTargetBlendInfo> kanzi::gfx::BlendStateCreateInfo::attachmentBlendModes

The blend information for each color attachment.

The last blend information is repeated when there are more color attachments than provided blend information.


The documentation for this struct was generated from the following file: